package com.mingzhi.service.impl;

import com.mingzhi.dao.BookDao;
import com.mingzhi.service.BookService;

public class BookServiceImpl implements BookService {

    private BookDao bookDao;

    //提供set方法进行
    public void setBookDao(BookDao bookDao) {
        this.bookDao = bookDao;
    }

    @Override
    public void save() {
        System.out.println("BookServiceImpl");
        bookDao.save();
    }


}
